package com.cn.demo4.service;

import com.cn.demo4.entity.UserEntity;

import java.util.List;

public interface IUserService {
    List<UserEntity> findAll(UserEntity userEntity);

    String login(UserEntity userEntity);

    UserEntity findById(Integer id);

    String edit(UserEntity userEntity);

    String editPassword(UserEntity userEntity);

    int del(Integer id);

    String add(UserEntity userEntity);

    UserEntity findByPhone(String phone);

    int getCount(UserEntity userEntity);
}
